package plsqlfs;

import java.io.IOException;
import java.io.InputStream;

public interface RemoteFileSystem {

	void changeWorkingDirectory(String directory) throws IOException;

	void createFile(String fileName) throws IOException;

	void createFile(String fileName, InputStream fileContent) throws IOException;

	boolean fileExists(String name) throws IOException;

	void createDirectory(String directoryName) throws IOException;

	void deleteFile(String fileName) throws IOException;

	InputStream retrieveFileStream(String name) throws IOException;

	byte[] retrieveFileBytes(String name) throws IOException;

}
